package com.legoo.studaychineseonline.bean;

import java.util.List;

/**
 * 作者：Jason_Jukes on 2019/1/10 0010 11:25
 * <p>
 * When I wrote this, only God and I understood what I was doing
 * Now, only God knows
 */

public class HomeAdBannerBean {

    /**
     * list : [{"id":9,"title":"首页轮播1","url":"javascript:;","cover_id":"54","position":1,"status":"1","create_time":"1540732827","update_time":"0","img":"/uploads/20181217/633230d6457d2d61d692b0a3f1ccadbc.jpg"},{"id":10,"title":"首页轮播2","url":"javascript:;","cover_id":"56","position":1,"status":"1","create_time":"1540732827","update_time":"1545028754","img":"/uploads/20181217/23345f1b874cd801d375f686a6c8bb0f.jpg"}]
     * code : 1
     */

    private int code;
    private List<AdBannerBean> list;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<AdBannerBean> getList() {
        return list;
    }

    public void setList(List<AdBannerBean> list) {
        this.list = list;
    }

    public static class AdBannerBean {
        /**
         * id : 9
         * title : 首页轮播1
         * url : javascript:;
         * cover_id : 54
         * position : 1
         * status : 1
         * create_time : 1540732827
         * update_time : 0
         * img : /uploads/20181217/633230d6457d2d61d692b0a3f1ccadbc.jpg
         */

        private int id;
        private String title;
        private String url;
        private String cover_id;
        private int position;
        private String status;
        private String create_time;
        private String update_time;
        private String img;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getCover_id() {
            return cover_id;
        }

        public void setCover_id(String cover_id) {
            this.cover_id = cover_id;
        }

        public int getPosition() {
            return position;
        }

        public void setPosition(int position) {
            this.position = position;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(String update_time) {
            this.update_time = update_time;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }
    }
}
